#ifndef _BITS_H_
#define _BITS_H_

int bitGet(unsigned char x, int pos);
int bitSet(unsigned char x, int pos);
int bitClear(unsigned char x, int pos);

int bitArrayGet(unsigned char *state, int pos);
void bitArraySet(unsigned char *state, int pos);
void bitArrayClear(unsigned char *state, int pos);

#endif
